Skip to content

Instantly share code, notes, and snippets.

@if0rest
if0rest / yt-dlp-bff.md
Last active August 23, 2026 21:37
Как настроить yt-dlp и горя не знать.

Очередная инструкция на случай амнезии.


YT-DLP - БАЗИРОВАННАЯ тулза для скачивания контента с медиахостингов, и многие проги ей завидуют хранят под капотом именно её ядро. Оседлав этого жеребца, смотришь на других наездников, как на бедолаг с раздолбанным очком. Приступим.

  1. yt-dlp работает в связке с ffmpeg, поэтому скачиваем свежие релизы первого и второго и распаковываем исполняемые файлы в одну папку.

изображение

  1. Поскольку yt-dlp работает через CLI, чтобы вызывать его из любого места добавим путь к программе в переменную среды Windows PATH.
@if0rest
if0rest / chat-about-ffmpeg.md
Last active August 23, 2026 21:36
DeepSeek обучает азам FFmpeg

❓ Знакома ли тебе библиотека "ffmpeg"? Мне нужно узнать несколько команд по ее использованию.

🔊 Да, я знаком с библиотекой FFmpeg — это мощный инструмент для работы с мультимедиа, который позволяет кодировать, декодировать, конвертировать, изменять и обрабатывать аудио и видео файлы. Вот несколько полезных команд, которые могут тебе пригодиться:


1. Конвертация видео в другой формат

ffmpeg -i input.mp4 output.avi
@williamzujkowski
williamzujkowski / suricata-advanced-lua-detection.lua
Created November 3, 2025 19:43
Suricata Advanced Lua Detection - HTTP anomaly detection using Lua scripting and ML dataset configuration
-- Suricata Advanced Detection with Lua Scripts
-- Location: /etc/suricata/lua/http-anomaly.lua
-- Purpose: Complex HTTP anomaly detection using Lua scripting
-- ============================================================================
-- HTTP Anomaly Detection Script
-- ============================================================================
function init(args)
local needs = {}
@Artefact2
Artefact2 / README.md
Last active August 23, 2026 21:35
GGUF quantizations overview

Which GGUF is right for me? (Opinionated)

Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggml-org/llama.cpp#5962

In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.

llama.cpp feature matrix

See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix

@alexdhital
alexdhital / Dump Windows Credential Vault and Scheduled Tasks Credentials.md
Last active August 23, 2026 21:35
Dump Credentials From Windows Credential Vault and Scheduled Tasks

Credential vault

Works only when running as same user whose credentials we are dumping

List vaults

C:\Users\Alex\Desktop> vaultcmd /list

List available credentials in vault

C:\Users\Alex\Desktop> vaultcmd /listcreds:"<vault-name>" /all

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@vil
vil / brave_debloat.md
Last active August 23, 2026 21:34
Brave Debloating Guide

Brave Browser Debloating Guide

Brave is an excellent, privacy-focused browser, but its default configuration comes packed with extra features that many users consider bloat. This guide will walk you through how to get rid of the bloat, hide the ads, and disable background services for a clean, minimal browsing experience.

Part 1: Clearing the Visual Bloat

The default start page and toolbars are crowded with Brave "cards," news feeds, and native crypto shortcuts. Fortunately, the surface-level clutter is easy to hide directly from the UI.

  • Clean the Start Page: Open a new tab, click the Customize button in the bottom right corner, and toggle off Brave News, Cards, and any unwanted background images or stats.
  • Clean the Toolbar: Right-click on the Brave Rewards, Brave Wallet, Brave VPN, and Leo AI icons located next to the URL bar, and select Hide.
@kibotu
kibotu / INSTALL.md
Last active August 23, 2026 21:31
How to Run Qwen3.5 Locally With Claude Code (No API Bills, Full Agentic Coding)

Run Qwen 3.5 Locally with Claude Code — Zero API Bills, Full Agentic Coding

Your Mac has a GPU. Your Mac has RAM. Why are you paying someone else to think?

This guide gets you a fully local agentic coding setup: Claude Code talking to Qwen 3.5-35B-A3B via llama.cpp, all running on your Apple Silicon Mac. No API keys. No cloud. No surprise invoices. Just you, your M-series chip, and 35 billion parameters doing your bidding on localhost.

Based on this article.


@onomatopellan
onomatopellan / waydroidwsl2.md
Last active August 23, 2026 21:26
Waydroid in WSL2 with sound (Weston on top of Weston approach)

Waydroid in WSL2 with sound

Requirements

Recommended to install Waydroid in a brand new Ubuntu install. Waydroid needs a custom linux kernel. Actually just needs latest kernel for WSL2 with just these changes before compiling:

CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"